import { create } from "zustand";

import { UserRole } from "shared/types";

import type { InitialState } from "./index.types";

export const userReducer = create<InitialState>()(() => ({
	name: "",
	surname: "",
	email: "",
	role: UserRole.WARD,
}));
